﻿using System.Text;
using Baula.TextGen.ActiveTemplating.Tokenizer.Tokens;

namespace Baula.TextGen.ActiveTemplating.Tokenizer.TokenParsers
{
    internal abstract class TokenParserBase : ITokenParser
    {
        protected readonly StringBuilder StringBuilder = new StringBuilder();

        public abstract bool CanAppend(char c);
        public abstract void Append(char c);
        public abstract IToken CreateToken();
        public int StartColumn { get; set; }
    }
}